package xyz.zdsoft.course_manage_module.service;

import xyz.zdsoft.common.utils.Result;

import java.text.ParseException;
import java.util.HashMap;
import java.util.List;

public interface AdminUpdateCourseService {
    //删除编辑的课程与实训老师的对应关系
    void DeleteCourseAndTeacher(Integer courseOnId);
    //通过教室查询当日上课日期(除开自己)
    List<HashMap<String,Object>> SelDateByClassRoom(HashMap<String,Object> map);
    //更新课程安排信息
    void UpdateCourse(HashMap<String,Object> map);
    //总体逻辑判断
    Result judgeUpdateCourse(Integer courseOnId, String projectDate, String courseName,
                                    Long dutyTeacherId, Long[] trainTeachers,
                                    String signInTime, String signOutTime,
                                    String classRome, String remark) throws ParseException;
}
